﻿Imports System.Media
Partial Public Class PlayMusic
    Inherits System.Web.UI.Page

    Dim MyPlayer As New SoundPlayer()
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        'If Not IsPostBack Then
        '    MyPlayer.SoundLocation = (Server.MapPath("../Music/")) & "testMusic.wav"

        '    MyPlayer.Play()
        'End If
    End Sub
End Class